import {request} from './request'

// 首页请求字体轮播图的函数
export function getHomeIconsdata() {
  return request({
    url: '/category/selectIndexCate',
  })
}

//首页请求品类的函数
export function getHomeSpeciesGoods () {
  return request({
    url: '/goods/selectGoods',
    params: {
      cateId:1,
      current:1,
      size:6
    }
  })
}

//首页请求空间的函数
export function getHomeSpaceGoods () {
  return request({
    url: '/goods/selectGoods',
    params: {
      cateId:2,
      current:1,
      size:6
    }
  })
}

//首页请求风格的函数
export function getHomeStyleGoods () {
  return request({
    url: '/goods/selectGoods',
    params: {
      cateId:3,
      current:1,
      size:6
    }
  })
}
